
<%@ page contentType="text/html; charset=UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>

<s:form action="music!save" theme="simple">
	<table border="0" style="padding:10px;width:100%">
		<tr>
			<td width="100px"><s:label value="电影" /></td>
			<td><s:textfield name="music.movie.displayName" disabled="true" /></td>
			
		</tr>
		<tr>
			<td width="100px"><s:label value="名称" /></td>
			<td><s:textfield name="music.name" /></td>
			
		</tr>
		<tr>
			<td width="100px"><s:label value="中文名" /></td>
			<td><s:textfield name="music.nameCn" /></td>
			
		</tr>
		<tr>
			<td width="100px"><s:label value="语言" /></td>
			<td><s:radio name="music.language.id" list="languages" listKey="id" listValue="nameCn"></s:radio></td>
			
		</tr>
		<tr>
			<td width="100px"><s:label value="歌手" /></td>
			<td><div id="person"></div><s:a href="javascript:showDialog('person!select','person')">选择</s:a></td>
			
		</tr>

		<tr>
			<td width="100px"><s:label value="音频" /></td>
			<td><s:iterator value="music.audios" status="stat">
				<li><s:a href="audio!edit?audio.id=%{id}">
					<s:property value="displayName" />
				</s:a></li>
			</s:iterator>
			<div id="audios"></div><s:a href="javascript:showDialog('audio!select','audios')">选择</s:a>
			<s:hidden id="audiosData" name="audiosData"></s:hidden>
			</td>
			
		</tr>

		<tr>
			<td colspan="2"><s:submit label="提交"></s:submit></td>

		</tr>
	</table>
</s:form>